/********************************************************************************
 *  Project   : DTP Asset Creation
 *
 *  System    : Digital Traceability Platform
 *
 *  File      : BaseEntity.java
 *
 *  XXXX-XXX  (C) Copyright IBM Japan, Ltd. 2010
 *  XXXX-XXX  (C) Copyright IBM Corp. 2010
 *  All Rights Reserved.
 *  
 *  Version	Date		Author		Comment
 *  -------	----------	----------	------------------------------------------
 *  1.00.00	Aug 6, 2010	yaoqi	新規作成
 ********************************************************************************/
package com.ibm.dtp.ejb.entity;

import java.io.Serializable;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * TODO
 * 
 * @version 1.00.00 Aug 6, 2010
 * @author yaoqi
 * 
 */
@MappedSuperclass
public class BaseEntity implements Serializable {

	/**
	 * TODO
	 */
	private static final long serialVersionUID = 9097728676444153209L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
}
